<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="PixelDiff,com.allurent.flexunit2.vfu.model.PixelDiff,absoluteColorDiff,alpha1,alpha2,alphaDiff,alphaDiffAbs,blue1,blue2,blueDiff,blueDiffAbs,color1,color2,green1,green2,greenDiff,greenDiffAbs,red1,red2,redDiff,redDiffAbs,x,y" name="keywords">
<title>com.allurent.flexunit2.vfu.model.PixelDiff</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'PixelDiff - API Documentation';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../index.html?com/allurent/flexunit2/vfu/model/PixelDiff.html&amp;com/allurent/flexunit2/vfu/model/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;PixelDiff</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class PixelDiff"); titleBar_setSubNav(false,true,false,false,false,false,false,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.allurent.flexunit2.vfu.model</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class PixelDiff</td>
</tr>
</table>
<p></p>
     This class contains data that describes the differences between
     two pixels at the same location in two separate images. Most of
     its properties consist of the same four pieces of data for each of:
        - Its three colors
        - Its alpha value
     These four pieces of data are:
        - The value for the specified color or alpha for the first image:
             e.g. alpha1, red1, green1, blue1
        - The value for the specified color or alpha for the second image:
             e.g. alpha2, red2, green2, blue2
        - The difference between the values for the two images
             e.g. alphaDiff = alpha1 - alpha2
             e.g. redDiff = red1 - red2
             etc.
        - The absolute difference between the values for the two images
             e.g. alphaDiffAbs = Math.abs( alpha1 - alpha2 )
             e.g. redDiffAbs = Math.abs( red1 - red2 )
             etc.
          <p>This accounts for 16 of the properties below. The others are documented
     individually.</p>
     <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#absoluteColorDiff">absoluteColorDiff</a> : int<div class="summaryTableDescription">
         absoluteColorDiff is the figure that one arrives at when one
         adds the absolute differences between the alpha, red, green and blue
         values for two pixels.</div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#alpha1">alpha1</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#alpha2">alpha2</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#alphaDiff">alphaDiff</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#alphaDiffAbs">alphaDiffAbs</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blue1">blue1</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blue2">blue2</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blueDiff">blueDiff</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blueDiffAbs">blueDiffAbs</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#color1">color1</a> : uint<div class="summaryTableDescription">
         The pixel's 32 bit color value in the first image
         </div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#color2">color2</a> : uint<div class="summaryTableDescription">
         The pixel's 32 bit color value in the second image
         </div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#green1">green1</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#green2">green2</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#greenDiff">greenDiff</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#greenDiffAbs">greenDiffAbs</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#red1">red1</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#red2">red2</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#redDiff">redDiff</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#redDiffAbs">redDiffAbs</a> : int<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#x">x</a> : int<div class="summaryTableDescription">
         The pixels' x value
         </div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#y">y</a> : int<div class="summaryTableDescription">
         The pixels' y value
         </div>
</td><td class="summaryTableOwnerCol">PixelDiff</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="absoluteColorDiff"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">absoluteColorDiff</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public var absoluteColorDiff:int</code><p>
         absoluteColorDiff is the figure that one arrives at when one
         adds the absolute differences between the alpha, red, green and blue
         values for two pixels. Here's an example:
            Pixel A has the following color values:  alpha:255, red:78, green:201, blue:21
            Pixel B has the following color values:  alpha:255, red:76, green:203, blue:21
            Diff values: alpha:0, red:2, green:-2, blue:0
            absoluteColorDiff = 4</p>
         </p></div>
<a name="alpha1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">alpha1</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var alpha1:int</code>
</div>
<a name="alpha2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">alpha2</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var alpha2:int</code>
</div>
<a name="alphaDiff"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">alphaDiff</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var alphaDiff:int</code>
</div>
<a name="alphaDiffAbs"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">alphaDiffAbs</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var alphaDiffAbs:int</code>
</div>
<a name="blue1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blue1</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var blue1:int</code>
</div>
<a name="blue2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blue2</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var blue2:int</code>
</div>
<a name="blueDiff"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blueDiff</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var blueDiff:int</code>
</div>
<a name="blueDiffAbs"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blueDiffAbs</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var blueDiffAbs:int</code>
</div>
<a name="color1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">color1</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var color1:uint</code><p>
         The pixel's 32 bit color value in the first image
         </p></div>
<a name="color2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">color2</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var color2:uint</code><p>
         The pixel's 32 bit color value in the second image
         </p></div>
<a name="green1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">green1</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var green1:int</code>
</div>
<a name="green2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">green2</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var green2:int</code>
</div>
<a name="greenDiff"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">greenDiff</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var greenDiff:int</code>
</div>
<a name="greenDiffAbs"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">greenDiffAbs</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var greenDiffAbs:int</code>
</div>
<a name="red1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">red1</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var red1:int</code>
</div>
<a name="red2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">red2</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var red2:int</code>
</div>
<a name="redDiff"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">redDiff</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var redDiff:int</code>
</div>
<a name="redDiffAbs"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">redDiffAbs</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var redDiffAbs:int</code>
</div>
<a name="x"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">x</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var x:int</code><p>
         The pixels' x value
         </p></div>
<a name="y"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">y</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var y:int</code><p>
         The pixels' y value
         </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">Copyright (c) 2006-2007 Allurent Inc. All rights reserved. Generated 10/24/2007 03:44 PM. Build dev-version</center>
</div>
</body>
</html>
<!--Copyright (c) 2006-2007 Allurent Inc. All rights reserved. Generated 10/24/2007 03:44 PM. Build dev-version-->
